<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8"/>
    <title>Title</title>
    <!-- 最新版本的 Bootstrap 核心 CSS 文件 -->
    <link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous"/>

    <!-- 可选的 Bootstrap 主题文件（一般不用引入） -->
    <link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap-theme.min.css" integrity="sha384-rHyoN1iRsVXV4nD0JutlnGaslCJuC7uwjduW9SVrLvRYooPp2bWYgmgJQIXwl/Sp" crossorigin="anonymous"/>
    <script
            src="https://code.jquery.com/jquery-1.12.4.min.js"
            integrity="sha256-ZosEbRLbNQzLpnKIkEdrPv7lOy9C27hHQ+Xp8a4MxAQ="
            crossorigin="anonymous"></script>
    <!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
    <script src="https://cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
    <link rel="stylesheet" th:href="@{jquery-confirm.min.css}"/>
    <script th:src="@{jquery-confirm.min.js}"></script>
</head>
<body>
<h1 th:if="${msg}" th:text="${msg}">default msg</h1>

<div class="panel panel-default">
    <div class="panel-heading">
        <h3 class="panel-title">重启服务测试</h3>
    </div>
    <div class="panel-body">
        <form method="post">
            <div class="form-group">
                <label for="inputNamespace">命名空间名称</label>
                <input type="text" class="form-control" id="inputNamespace" name="spaceName" placeholder="test-pbim"/>
            </div>
            <div class="form-group">
                <label for="inputServiceName">微服务名称</label>
                <input type="text" class="form-control" id="inputServiceName" name="serviceName" placeholder="test"/>
            </div>
            <div class="form-group">
                <label class="radio-inline">
                    <input type="radio" name="restartOption" id="inlineRadio1" value="restart"/> 重启
                </label>
                <label class="radio-inline">
                    <input type="radio" name="restartOption" id="inlineRadio2" value="hard_reboot"/> 冷重启
                </label>
            </div>
            <button type="submit" class="btn btn-default">重启</button>
        </form>
    </div>
</div>

</body>
</html>